setClipped

abstract fun setClipped(block: DesignBlock, clipped: Boolean)

Update a block's clipped state. Required scope: "layer/clipping"

Parameters

block

the block to update.

clipped

whether the block should clips its contents to its frame.